package com.ruoyi.report_ljlm.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.report_ljlm.domain.vo.GzsdbgBsDetailVo;
import com.ruoyi.report_tg.domain.bo.ExcelGeneralBo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 路面构造深度试验检测报告业务对象 report_ljlm_gzsdbg_bs_info
 *
 * @author llb
 * @date 2024-07-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class GzsdbgBsInfoBo extends ExcelGeneralBo {

    /**
     * 一份excel表格的唯一id(其他的excel主表，都应有此字段）
     */
    @NotNull(message = "一份excel表格的唯一id(其他的excel主表，都应有此字段）不能为空", groups = { EditGroup.class })
    private Long excelId;

    /**
     * 共几页
     */
    @NotNull(message = "共几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long totalPage;

    /**
     * 第几页
     */
    @NotNull(message = "第几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long page;

    /**
     * 检测单位名称
     */
    @NotBlank(message = "检测单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancdwmc;

    /**
     * 报告编号
     */
    @NotBlank(message = "报告编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String baogbh;

    /**
     * 施工/委托单位
     */
    @NotBlank(message = "施工/委托单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shigwtdw;

    /**
     * 工程名称
     */
    @NotBlank(message = "工程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcmc;

    /**
     * 工程部位/用途
     */
    @NotBlank(message = "工程部位/用途不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcbwyt;

    /**
     * 样品名称
     */
    @NotBlank(message = "样品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpmc;

    /**
     * 样品编号
     */
    @NotBlank(message = "样品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpbh;

    /**
     * 样品数量
     */
    @NotBlank(message = "样品数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsl;

    /**
     * 样品状态
     */
    @NotBlank(message = "样品状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpzt;

    /**
     * 样品时间
     */
    @NotBlank(message = "样品时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsj;

    /**
     * 检测依据
     */
    @NotBlank(message = "检测依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancyj;

    /**
     * 判定依据
     */
    @NotBlank(message = "判定依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @NotBlank(message = "主要仪器设备名称及编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zhuyyqsbmcjbh;

    /**
     * 委托编号
     */
    @NotBlank(message = "委托编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String weitbh;

    /**
     * 检测类别
     */
    @NotBlank(message = "检测类别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jianclb;

    /**
     * 检测路段
     */
    @NotBlank(message = "检测路段不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancld;

    /**
     * 结构层次
     */
    @NotBlank(message = "结构层次不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiegcc;

    /**
     * 混合料类型
     */
    @NotBlank(message = "混合料类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hunhllx;

    /**
     * 设计构造深度
     */
    @NotNull(message = "设计构造深度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shejgzsd;

    /**
     * 设计值1
     */
    @NotNull(message = "设计值1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shejz1;

    /**
     * 设计值2
     */
    @NotNull(message = "设计值2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shejz2;

    /**
     * 平均值
     */
    @NotNull(message = "平均值不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal pingjz;

    /**
     * 标准差
     */
    @NotNull(message = "标准差不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal biaozc;

    /**
     * 变异系数
     */
    @NotNull(message = "变异系数不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal bianyxs;

    /**
     * 结果判定
     */
    @NotBlank(message = "结果判定不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiegpd;

    /**
     * 检测结论
     */
    @NotBlank(message = "检测结论不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancjl;

    /**
     * 附加声明
     */
    @NotBlank(message = "附加声明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fujsm;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgFlag;

    /**
     * 检测
     */
    @NotBlank(message = "检测不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jianc;

    /**
     * 记录
     */
    @NotBlank(message = "记录不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jil;

    /**
     * 复核
     */
    @NotBlank(message = "复核不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fuh;

    /**
     * 日期
     */
    @NotBlank(message = "日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String riq;

    /**
     * 设备ids
     */
    @NotBlank(message = "设备ids不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shebIds;

    /**
     * 判断依据ids
     */
    @NotBlank(message = "判断依据ids不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pandyjIds;

    /**
     * 检测依据ids
     */
    @NotBlank(message = "检测依据ids不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancyjIds;

    /**
     * 详情
     */
    List<GzsdbgBsDetailVo> detailList;
}
